﻿using System;
using DDDSample.Domain.HandlingEvent;
using DDDSample.Domain.Location;

namespace DDDSample.Application.HandlingEvent
{
    public interface IHandlingEventService
    {
        Guid Store(Domain.HandlingEvent.HandlingEvent handlingEvent);

        HandlingHistory LookupHandlingHistoryOfCargo(Guid cargoId);

        void RegisterHandlingEvent(DateTime completionTime, Guid cargoId, UnLocode unLocode, HandlingEventType type);
    }
}